﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using ConsolidationTool.Common.Entities;
using System.Collections.Generic;
using ConsolidationTool.Common;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using ConsolidationTool.WebParts.ControlTemplates.ConsolidationTool.WebParts;

namespace ConsolidationTool.WebParts.Layouts.PublishPages
{
    public partial class ActualPublish : LayoutsPageBase
    {
        List<Group> regionGroup = new List<Group>();
        List<Group> subRegionGroup = new List<Group>();
        List<Group> entityGroup = new List<Group>();
        protected void Page_Load(object sender, EventArgs e)
        {
          //  publish.Click += new EventHandler(publish_Click);
       
        }

        //void publish_Click(object sender, EventArgs e)
        //{
        //    var selectedEntitys = (publishSelector as PublishSelector).SelectedEntitys;
        //    selectedEntitys.ForEach(p => {

        //        Label1.Text += string.Format("{0}  -  {1}  -{2}-{3}<br/>", p.EntityName, p.EntityCode, p.Year, p.Month);
        //    });

        //}
    
    }
}
